package com.caiyouxi.finance.mapper;

import com.caiyouxi.finance.model.FinancePaymentDetail;
import com.caiyouxi.order.model.OrderBean;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigInteger;
import java.util.HashMap;
import java.util.List;

/**
 * Created by Administrator on 2017/10/18.
 */
@Mapper
public interface FinancePaymentDetailMapper {

    //查询
    public FinancePaymentDetail select_finance_payment_detail(BigInteger id);

    public List<FinancePaymentDetail> get_list(FinancePaymentDetail bean);

    //增加
    public int add_finance_payment_detail(FinancePaymentDetail bean);

    //修改
    public int update_finance_payment_detail(FinancePaymentDetail bean);

    //删除
    public int delete_finance_payment_detail(FinancePaymentDetail bean);

    public OrderBean get_min_by_payment_type_and_payment_detail(HashMap<String,Object> map);

    public Integer get_sum_by_payment_type_and_payment_detail(HashMap<String,Object> map);
}
